package travlefate.story.utils;

import com.squareup.okhttp.OkHttpClient;

/**
 * @author keven
 * @data 15/12/24 下午4:38
 * @package travlefate.story.utils
 */

public class Http {

    private static final String BASE_URL = "http://139.129.19.51/mystory";
    private static final String BASE_INTERFACE = BASE_URL+"/index.php/home/Interface/";
    public static final String BASE_UPLOADS = BASE_URL+"/Uploads/";
    public static final String BASE_PORTRAIT = BASE_URL+"/Uploads/portrait/";
    public static final String getStorys = BASE_INTERFACE+"getStorys";

    public  static OkHttpClient client = null;

    public static OkHttpClient getInstanse(){
        if(client==null){
            client = new OkHttpClient();
        }
        return client;
    }


}
